import { BlEnum, PlatformEnum, PricePlatform, ProductEnum } from '@/core/enums/platform'

export const BlKeyMap: Record<BlEnum, string> = {
  [BlEnum.ALL]: '全部',
  [BlEnum.BIAO_WANG]: '标王',
  [BlEnum.FENG_MING]: '凤鸣',
  [BlEnum.YI_DOU]: '易抖',
  [BlEnum.PIN_ZHUAN]: '品专'
}

export const PlatformKeyMap: Record<PlatformEnum, string> = {
  [PlatformEnum.PC]: 'PC端',
  [PlatformEnum.MOBILE]: '移动端',
  [PlatformEnum.Platform]: '双端'
}

export const ProductKeyMap: Record<ProductEnum, string> = {
  [ProductEnum.All]: '全部',
  [ProductEnum.BW]: '标王百姓版',
  [ProductEnum.BWYXB]: '标王百搜版',
  [ProductEnum.CiBao]: '词包百姓版',
  [ProductEnum.CBYXB]: '词包百搜版',
  [ProductEnum.HJBW]: '黄金标王',
  [ProductEnum.CBTEH]: '视频号',
  [ProductEnum.WbBao]: '精准词词包',
  [ProductEnum.DFBEN]: '词包特惠-百姓版',
  [ProductEnum.BWSD]: '标王高定版-百姓版',
  [ProductEnum.BWSDYXB]: '标王高定版-百搜版'
}

export const PricePlatformKeyMap: Record<PricePlatform, string> = {
  [PricePlatform.Platform]: '全平台',
  [PricePlatform.Mobile]: '移动端',
  [PricePlatform.PC]: 'pc端'
}

export const PlatformToClientType: Record<PricePlatform, PlatformEnum> = {
  [PricePlatform.Platform]: PlatformEnum.Platform,
  [PricePlatform.Mobile]: PlatformEnum.MOBILE,
  [PricePlatform.PC]: PlatformEnum.PC
}
